package com.joven.shelltest.utils.functionifelse;

import java.util.function.Predicate;

/**
 * @Author wzj
 * @Date 2023-11-07 15:21
 **/
public class CartPredicate {

    public final static Predicate<Cart> VALUE_SIX = cart -> cart.getValue() == 6;
    public final static Predicate<Cart> VALUE_SEVEN = cart -> cart.getValue() == 7;
}
